/**
 * createby : JinxLbj
 * date : 2018/9/29
 * desc :
 **/

package jinx.lbj.springcloud_model.feign;

import jinx.lbj.springcloud_model.fallback.GameFeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
import java.util.Map;

@FeignClient(value = "springcloud-game", fallback = GameFeignFallBack.class)
public interface GameFeign {

    @RequestMapping(value = "/getGames",method = RequestMethod.GET)
    List<Map> getGames();

}
